newSession

open fun newSession(): String

Placeholder: Intended to signal the start of a new event session and generate a new session ID.

Note: This method is not implemented in this interface and will throw NotImplementedException. Actual session creation is handled by the underlying event tracking system. When implemented, the new session ID would typically be used for all subsequent events until another new session is explicitly started.

Return

A generated session ID (if implemented).

Throws

NotImplementedException

Always, as this method is a placeholder in the interface.


open fun newSession(id: String)

Placeholder: Intended to start a new event session with a user-provided session ID.

Note: This method is not implemented in this interface and will throw NotImplementedException. Actual session creation with a specific ID is handled by the underlying event tracking system. This allows for the use of custom or externally generated session identifiers. The specified session ID would typically be used for all subsequent events until another new session is explicitly started.

Parameters

id

The custom session ID to use for the new session (if implemented).

Throws

NotImplementedException

Always, as this method is a placeholder in the interface.